package start.doubudouyin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import start.doubudouyin.entity.Systemmessage;
import start.doubudouyin.service.SystemmessageService;
import start.doubudouyin.mapper.SystemmessageMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author mmmm
* @description 针对表【systemmessage(系统消息表)】的数据库操作Service实现
* @createDate 2025-06-09 14:25:57
*/
@Service
public class SystemmessageServiceImpl extends ServiceImpl<SystemmessageMapper, Systemmessage>
    implements SystemmessageService{

    @Resource
    private SystemmessageMapper systemmessageMapper;
    public Integer rejectvideo(String adminId,String userId,String content){
        return systemmessageMapper.rejectvideo(adminId,userId,content);
    }

    public List<Systemmessage> getsystemmessage(String userId){
        return systemmessageMapper.getsystemmessage(userId);
    }
}




